package com.example.productmanagerspringboot.data.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class ResponseWithData<T> {
    public ResponseWithData(String message, int resultCode, T data) {
        this.message = message;
        this.resultCode = resultCode;
        this.data = data;
    }

    private String message;
    private int resultCode;
    private T data;
}
